QT -= gui
QT += core

TEMPLATE = lib
DEFINES += SINGLEINSGUARD_LIBRARY

CONFIG += c++17 warn_off
CONFIG += shared plugin
TARGET += SingleInsGuard
CONFIG += unversioned_libname unversiond_soname

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    singleinsguard.cpp \
    singleinstancegrard.cpp

HEADERS += \
    SingleInsGuard_global.h \
    singleinsguard.h \
    singleinstancegrard.h

DESTDIR += $$PWD/../bin

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
